<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ attribute name="content" type="java.lang.String" required="true"
	description="消息内容"%>
<%@ attribute name="type" type="java.lang.String"
	description="消息类型：info、success、warning、error、loading"%>
<script type="text/javascript">
	$.jBox.closeTip();
</script>
<script type="text/javascript">
	if (!$.jBox.tip.mess && "${content}" != "") {
		var type = "${type}".indexOf("失败") >= 0 ? "error" : "${type}";
		$.jBox.tip.mess = 1;
		$.jBox.tip("${content}", type, {
			persistent : true,
			opacity : 0
		});
	}
</script>